//
//  goldViewCell.swift
//  NewLndd
//
//  Created by 邵禹曦 on 2020/1/8.
//  Copyright © 2020 辽宁当代. All rights reserved.
//

import UIKit
// MARK: - 出入金流水
class goldViewCell: UITableViewCell {
    
    @IBOutlet weak var dgbh: UILabel!
      
      @IBOutlet weak var OFF: UILabel!

       @IBOutlet weak var PP: UILabel!
       
       @IBOutlet weak var AP: UILabel!
       
       @IBOutlet weak var TF: UILabel!
       
       @IBOutlet weak var PF: UILabel!
       
       @IBOutlet weak var AF: UILabel!
    
    // MARK: - 自定义属性
       var ViewModel : gold? {
           
           // 属性监听器
           didSet {
               // 1. nil值校验
               guard let ViewModel = ViewModel else {
                   return
               }
               dgbh.text = ViewModel.IOTY
               OFF.text = ViewModel.IOM
               PP.text = ViewModel.FEE
               AP.text = ViewModel.ST
               TF.text = ViewModel.IOT
               PF.text = ViewModel.AID
               AF.text = ViewModel.IID
               
           }
       }

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
